import Layout from '@/views/layout/Layout'

/**
 * @author qun.xu
 * @desc   系统管理路由
 */
const devRouter = {
  path: '/devPages', component: Layout,  redirect: '/devPages/401',  name: 'Table',
  meta: {  title: 'devPages',  icon: 'table'  },
  children: [
    // {
    //   path: '401',
    //   component: () => import('@/views/errorPage/401'),
    //   name: 'page401',
    //   meta: { title: 'page404', noCache: true }
    // },
    // {
    //     path: '404',
    //     component: () => import('@/views/errorPage/404'),
    //     name: 'Page404',
    //     meta: { title: 'page404', noCache: true }
    // },
    {
        path: 'external-link',
        component: Layout,
        children: [
            {
                path: 'http://www.baidu.com',
                meta: { title: 'externalLink', icon: 'link' }
            }
        ]
    }
  ]
}
export default devRouter
